Extensions

Press shift + S to search API reference.

Interface

PositionSetProps

View source

Style props for the position of an element.

interface PositionSetProps extends PositionProps, TopProps, RightProps, BottomProps, LeftProps, ZIndexProps
bottomOptionalResponsiveProp<BottomProperty<Length>>

Specifies the vertical position of a positioned element. It has no effect on non-positioned elements.

leftOptionalResponsiveProp<LeftProperty<Length>>

Specifies the horizontal position of a positioned element. It has no effect on non-positioned elements.

positionOptionalResponsiveProp<PositionProperty>

Sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.

rightOptionalResponsiveProp<RightProperty<Length>>

Specifies the horizontal position of a positioned element. It has no effect on non-positioned elements.

topOptionalResponsiveProp<TopProperty<Length>>

Specifies the vertical position of a positioned element. It has no effect on non-positioned elements.

zIndexOptionalResponsiveProp<ZIndexProperty>

Sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with larger z-indexes cover those with smaller ones.